<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021-3-5
  Time: 11:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>用户登录</title>
</head>
<style>
    body{
        width: 1200px;
        height: 800px;
        background-image: url(./33.png);

        background-size: contain;

    }

</style>
            <%--登录页面--%>
<body style="padding-left:800px ;padding-top:400px">
      <form action="login" method="post">

          用户名：<br>
          <input type="text" name="userName" placeholder="请输入用户名..."><br>

          密&nbsp;&nbsp;&nbsp;码：<br>
          <input type="text" name="password" placeholder="请输入密码..." ><br>
<%--      <span style="color: red"><%= session.getAttribute("error")==null?"":session.getAttribute("error")%> </span>--%>
          <span style="color: red"><%= request.getAttribute("error")==null?"":request.getAttribute("error")%></span><br/>

         <input type="submit" value="登录" class=" btn btn-primary">
      </form>



</body>
</html>